
package com.insigma.business.qrcode.soldier.service;




import com.insigma.business.qrcode.soldier.dto.PlacementBatchBSearcher;
import com.insigma.business.qrcode.soldier.entity.PlacementBatchDO;

import java.util.List;


public interface PlacementBatchService {

    
    List<PlacementBatchDO> search(final PlacementBatchBSearcher innerSearcher);

    
    PlacementBatchDO get(final String id);

    
    Integer insert(final PlacementBatchDO placementBatch);

    
    Integer update(final PlacementBatchDO placementBatch);

    
    Integer delete(final String id, final String modifierType, final String modifierId);

    
    List<PlacementBatchDO> listByPlacementId(String id);

    
    PlacementBatchDO getByPlacementIdAndType(String id, String type);

    PlacementBatchDO getCurrentBatch(String placementId);

    Boolean isResultPublished(String batchId);

    Boolean isApplyEnd(String batchId);

}
